Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognize headless errors on requirement operations #2876

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

MDrakos
Copy link
Member

@MDrakos MDrakos commented Nov 9, 2023

TaskDX-2224 Remove headless commits

@github-actions github-actions bot changed the base branch from master to version/0-42-0-RC1 November 9, 2023 21:42
@MDrakos
Copy link
Member Author

MDrakos commented Nov 9, 2023

Test failures are not due to the changes introduced in this PR

@MDrakos MDrakos requested a review from mitchell-as November 9, 2023 23:04
@@ -17,6 +17,8 @@ var ErrNotAuthenticated = errors.New("not authenticated")

var ErrActionAborted = errors.New("aborted by user")

var ErrHeadless = errors.New("headless")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I view errors in this file as "global" errors. Is this going to be used outside the internal/runbits/requirements package? If not, we should put it in that package and remove it here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, I think this will be used in user-facing errors for requirement operations like install/uninstall.

Copy link
Contributor

@mitchell-as mitchell-as left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing to approved after further thought. This looks good to me.

@@ -17,6 +17,8 @@ var ErrNotAuthenticated = errors.New("not authenticated")

var ErrActionAborted = errors.New("aborted by user")

var ErrHeadless = errors.New("headless")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, I think this will be used in user-facing errors for requirement operations like install/uninstall.

@MDrakos MDrakos merged commit f8d87dc into version/0-42-0-RC1 Nov 10, 2023
9 of 14 checks passed
@MDrakos MDrakos deleted the DX-2224 branch November 10, 2023 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants